:root {
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;

  --no-dark-color: #3f3f3f;
  --bg-color: #FFFFFF;
  --bg-color-gray: #eaeaea;
  --bg-color-blue: #1780F1;
  --bg-color-black: #000000;
  --bg-color-white: #FFFFFF;
  --placeholder-color: #BABABA;
  --btn-color: #86100E;
  --alert-bg-color: #dcdcdc;
  --alert-message-color: #3C3C3C;
  --content-background-color: #F3F3F3;
  --content-font-color: #515151;
  --font-color-red: #86100E;
  --font-color-blue: #1780F1;
  --font-color-black: #000000;
  --font-color-gray: #666;
  --font-color-white: #fff; 
  --font-color-green: #429996;
  --font-active-color: #86100E;
  --font-highlight-color: yellow;
  --menu-font-size: 16px;
  --font-content-size: 16px;
  --font-action-size: 14px;
  --font-title-size: 22px;
  --border-color: #e1e0e0;
  --border-color-gray: #BABABA;
  --border-color-gray1: #e7e6e6;
  --border-color-blue: #1780F1;
  --icon-color: #86100E;
  --icon-color-gray: #cdcdcd;
  --icon-color-blue: #1780F1;
  --switch-color: #BABABA;
  --switch-color-active: #86100E;

  --alert-font-color: #2167AE;
  --pc-bg: #F2F3F8;
  --pc-bg-white: #FFFFFF;
  --pc-bg-gray: #dfdfdff2;
  --pc-mask: #65626270;
  --pc-font-white: #FFFFFF;
  --pc-font-gray: #bfbfbf;
  --pc-font-gray1: #666;
  --pc-font-black: #000000;
  --pc-font-blue: #063cff;
  --pc-font-size: 22px;
  --pc-a-color: #063cff;
  --pc-hover-bg: #e5e5e56c;
  --pc-label-bg: #F0F2F5;
  --pc-label-hover: #909399;
  --pc-label-hover-fill: #ffffff;
  --pc-border-gray: #e7e6e6;
  --pc-table-border: #f0f0f0;
  --pc-table-handle-font: #7884B0;
  --pc-table-handle-font-hover: #063cff;
  --pc-font-gray-opacity: #bfbfbf38;
  --pc-aside-bg-color: #2F47B1;
  --pc-aside-avator-bg-color: #22BDCB;
  --pc-button: #0046EA;
  --pc-button-white: #ffffff;
  --pc-button-delete: red;
  --navigation-bar-height: 2.5rem;
}

.van-theme-light {
  background-color: #FFFFFF;
}

.van-theme-dark {
  background-color: #000000;

  --no-dark-color: #d1d1d1;
  --bg-color: #000000;
  --bg-color-gray: #000000;
  --bg-color-blue: #1780F1;
  --bg-color-black: #FFFFFF;
  --bg-color-white: #1f1f1f;
  --placeholder-color: #BABABA;
  --btn-color: #86100E;
  --alert-bg-color: #EFEFEF;
  --alert-message-color: #3C3C3C;
  --content-background-color: #333333;
  --content-font-color: #d1d1d1;
  --font-color-red: #e83734;
  --font-color-blue: #1780F1;
  --font-color-black: #FFFFFF;
  --font-color-gray: #b0b0b0;
  --font-color-white: #fff; 
  --font-color-green: #429996;
  --font-active-color: #e83734;
  --font-highlight-color: #b52d2a;
  --menu-font-size: 16px;
  --font-content-size: 16px;
  --font-action-size: 14px;
  --font-title-size: 22px;
  --border-color: #6f6f6f;
  --border-color-gray: #BABABA;
  --border-color-gray1: #434343;
  --border-color-blue: #1780F1;
  --icon-color: #e83734;
  --icon-color-gray: #eeecec;
  --icon-color-blue: #1780F1;
  --switch-color: #BABABA;
  --switch-color-active: #86100E;
}

body {
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  color: var(--content-font-color);
  font-size: 14px;
}

#app {
  display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.w100 {
  width: 100%;
}

.center {
  text-align: center;
}

.border {
  box-sizing: border-box;
}

.user_input {
  width: 100%;
  height: 2.8rem;
  border: 0;
  border-bottom: 1px solid #bababa;
  background-color: transparent;
  text-align: center;
  font-size: 1rem;

  &:focus-visible{
    outline: none;
  }
}

.un-select {
  user-select: none;
}

input::placeholder{
	color: var(--placeholder-color);
  font-size: 1rem;
}
input::-webkit-placeholder{	//兼容WebKit browsers（Chrome的内核）
	color: var(--placeholder-color);
}
input::-moz-placeholder{			//Mozilla Firefox 4 to 18
	color: var(--placeholder-color);
}
input::-moz-placeholder{			//Mozilla Firefox 19+
	color: var(--placeholder-color);
}
input::-ms-placeholder{		//Internet Explorer 10+
	color: var(--placeholder-color);
}
input:-internal-autofill-previewed, input:-internal-autofill-selected {
  -webkit-text-fill-color: var(--font-color-black);
  transition: background-color 5000s ease-in-out 2s !important;
}
input[type='number'] {
  -moz-appearance:textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;margin: 0;
}

textarea {
  padding: 0.5rem;
  resize: vertical;
}

.btn {
  width: 100%;
  height: 2.5rem;
  border: 1px solid #D7C1C1;
  border-radius: 0.5rem;
  background-color: transparent;
  color: var(--btn-color);
  font-weight: 600;
  font-size: 16px;
}

.p_color {
  color: var(--placeholder-color);
}

a {
  font-size: 14px;
}

.f-b-r {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

.f-b-c {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.f-l-r {
  display: flex;
  justify-content: left;
  align-items: center;
  flex-direction: row;
}

.f-r-r {
  display: flex;
  justify-content: right;
  align-items: center;
  flex-direction: row;
}

.f-a-r {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}

.f-c-c {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.mt {
  margin-top: 1.5rem;
}

.p-all {
  padding: 0.5rem 1rem;
}

.bs {
  box-shadow: 0 1px 5px var(--border-color-gray);
}

.bg {
  background-color: var(--bg-color);
}

.va-m {
  vertical-align: middle;
}

.pt02 {
  padding-top: 0.2rem;
}

.pb02 {
  padding-bottom: 0.2rem;
}

.plr1 {
  padding: 0 1rem;
}

.ptb05 {
  padding: 0.5rem 0;
}

svg {
  vertical-align: middle;
}

.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  background-color: transparent;
}

.pointer {
  cursor: pointer;
}

button {
  &:hover {
    cursor: pointer;
  }
}

.content {
  width: 100%;
  min-height: calc(100vh - 7rem);
  background-color: transparent;
}

.el-table {
  border-radius: 0.5rem;
  flex: 1;
  height: fit-content !important;
  max-height: unset !important;
  .el-table__inner-wrapper {
      max-height: fit-content !important;
  }
  th, td {
      border-right: var(--el-table-border) !important;
      padding: 1rem 0.5rem !important;
  }
  td > div {
      overflow: hidden;
  }
  th, .el-table_1_column_1 {
      text-align: center !important;
  }
  td:hover {
    cursor: pointer;
  }
}
.demo-pagination-block + .demo-pagination-block {
  margin-top: 10px;
}
.demo-pagination-block .demonstration {
  margin-bottom: 16px;
}
.table-footer {
  padding-top: 1rem;
  box-sizing: border-box;
  max-height: 2rem;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding-left: 1rem;
  :deep(.el-pagination) {
      justify-content: flex-end;
  }
}

.cell {
  line-height: 1.5;
  width: 100%;
  height: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word !important;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  .img-preview {
      display: flex;
      align-items: center !important;
      width: 100%;
      height: 100%;
      justify-content: center !important;
      div {
          width: 90%;
          img {
              width: 100%;
          }
      }
  }
  .img-preview > div {
      display: flex;
      align-items: center !important;
      width: 100%;
      height: 100%;
      justify-content: center !important;
  }
  .img-preview > div > img {
    width: 30%;
  }
}
.handle-cell {
  .cell {
    padding: 0 0.7rem !important;
    .b-l_handle {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
  }
}

.el-message--warning {
  path {
    fill: var(--el-message-text-color)
  }
}
.el-message--success {
  path {
    fill: var(--el-color-success)
  }
}
.el-message--error {
  path {
    fill: var(--el-color-error)
  }
}

.el-input__wrapper {
  background-color: transparent !important;
}

.select-ul {
  border: 1px solid var(--pc-border-gray);
  border-radius: 0 0 0.3rem 0.3rem;
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  box-sizing: border-box;
  max-height: 15rem;
  max-width: 12rem;
  background-color: var(--bg-color);
  text-align-last: left;
  font-size: 17px;
  z-index: 99;
  overflow-y: auto;
  li {
    border-bottom: 1px solid var(--pc-border-gray);
    height: 2rem;
    line-height: 2.5;
    padding-left: 0.75rem;
    cursor: pointer;
    &:nth-last-child(1) {
      border: 0;
    }
    &:hover {
      background-color: var(--pc-hover-bg);
      color: var(--pc-font-black);
    }
  }
}

.table-data {
  .el-scrollbar__wrap {
    min-height: 27rem;
  }
}

.el-table.delete-table {
  .el-table__body-wrapper {
      max-height: 30rem !important;
  }
  .cell {
    height: 4rem;
    -webkit-line-clamp: 3;
  }
}

.label {
  display: inline-flex;
  width: max-content;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 0.5rem;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 0.3rem;
  background-color: var(--pc-label-bg);
  span {
    margin-right: 0.5rem;
  }
  .el-tag__close {
    border-radius: 0.5rem;
    &:hover {
      cursor: pointer;
      path {
        fill: var(--pc-label-hover-fill);
      }
      background-color: var(--pc-label-hover);
    }
  }
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.mobile-main {
  width: 100%;
  /* min-height: calc(100vh - 3.5rem); */
  /* max-height: calc(100vh - 3.5rem); */
  height: calc(100vh - 3.5rem);
  background-color: var(--bg-color-gray);
  overflow-y: auto;
}

.inline-block {
  display: inline-block;
}

.back-icon {
  path {
    fill: var(--font-color-blue);
  }
}

.highlight {
  background-color: var(--font-highlight-color);
}

.more-action {
  .el-drawer {
    height: max-content !important;
  }
  .el-drawer__body {
    height: 5rem;
    .item {
      height: 3rem;
      line-height: 3rem;
      color: var(--font-color-gray);
      font-size: 18px;
    }
  }
}

.add-pormes {
  height: max-content !important;
  .el-drawer__body {
      padding: 0;
  }
}

.el-overlay, .van-overlay, .van-popup, .el-popper, .el-message {
  z-index: 9999 !important;
}

.table-fix-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  height: 1.7rem;
  white-space: nowrap;
  cursor: pointer;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  user-select: none;
  vertical-align: middle;
  -webkit-appearance: none;
  padding: 8px 15px;
  border-radius: 4px;
}

.t-delete-btn {
  background-color: #f56c6c;
  border: 1px solid #f56c6c;
  border-color: #f56c6c;
}

.t-change-btn {
  background-color: #409eff;
  border: 1px solid #409eff;
  border-color: #409eff;
}

.t-add-btn {
  background-color: #95d475;
  border: 1px solid #95d475;
  border-color: #95d475;
}

.state-btn-div {
  width: 5.5rem;
}